package com.solo.system.api.consts.notice;

import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import com.solo.common.core.base.enums.BasicDict;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 通知公告枚举类
 * @author 十一
 * @since 2024-12-03 10:25
 * 人生若只如初见，何事秋风悲画扇
 **/
@Getter
@AllArgsConstructor
public enum NoticeScope implements BasicDict<Integer> {

    SPECIFY_THE_USER(2, "指定用户"),
    ALL_USERS(1, "全部用户");

    @EnumValue
    @JsonValue
    private final Integer value;
    private final String label;

}
